
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page isErrorPage="true"%>

<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    //声明是错误页面isErrorPage="true"才能用
    System.out.println(exception);
    System.out.println(exception.getMessage());
%>
</body>
</html>
